package com.xuexiang.xuidemo.page.text;

import com.xuexiang.xuidemo.page.base.BasePageAbilitySlice;
import com.xuexiang.xuidemo.page.base.Page;
import com.xuexiang.xuidemo.page.base.PageClassListAbilitySlice;

import java.util.Arrays;
import java.util.List;

/**
 * Text扩展实现列表入口
 *
 * @since 2021-04-06
 */
@Page(name = "文字", action = "ExtendTextListActivitySlice", ability = TextAbility.class)
public class ExtendTextListActivitySlice extends PageClassListAbilitySlice {
    @Override
    protected List<Class<? extends BasePageAbilitySlice>> getPages() {
        return getDemoPages();
    }

    static List<Class<? extends BasePageAbilitySlice>> getDemoPages() {
        return Arrays.asList(
            SuperTextAbilitySlice.class,
            ExpandableTextAbilitySlice.class,
            LabelViewAbilitySlice.class,
            BadgeViewAbilitySlice.class,
            AutoFitTextAbilitySlice.class,
            AutoHyphenationTextAbilitySlice.class,
            LoggerTextAbilitySlice.class
        );
    }
}
